﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zian.WinForm.Framework.Mappers;
using Zian.WinForm.Framework.Vos;

namespace ZhiQianWinform.Vos
{
    public class UserAccount : BaseVo
    {
        [PropertyMapper(IsPk = true)]
        public int ID { get; set; }
        [PropertyMapper]
        public string Name { get; set; }
        [PropertyMapper]
        public DateTime BoD { get; set; }
        [PropertyMapper]
        public int Age { get; set; }
        [PropertyMapper]
        public bool VIP { get; set; }
        [PropertyMapper]
        public decimal Points { get; set; }

        public object PrimKey => ID;

        public string LabelName => Name;
    }
}
